<html>
<body>
<h1>Product Master</h1>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The product master role can only works on the modules that related to product. After login successful to Campaign Information System (CIS), 
then some jobs the he can do with the system are:
    <ul>
        <li>Create a new product</li>
        <li>Search any product based on one or more criteria like Product id, Product Name,...</li>
        <li>Update an existing product</li>
        <li>Delete an existing product</li>
        <li>View statistics of campaign, variances, sales,...</li>
    </ul>

<h1>Campaign Master</h1>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The campaign master has responsibility to manage the campaign on different products. 
    <ul>
        <li>Create a new campaign on specified product</li>
        <li>Search any campaign based on one or more criteria like Campaign ID, Campaign Name, Product ID, Channel ID,... 
                or even he can search based on the start date and/or end date of the campaign</li>
        <li>Update an existing campaign</li>
        <li>Delete an existing campaign</li>
        <li>View statistics of campaign, variances, sales,...</li>
    </ul> 
    <table>
        <tr>
            <td>
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The followings are the descriptions of every fields and its constraints 
                when creating, updating or searching any campaign:
            </td>
        </tr>
        
    </table>
    <table style="margin-left: 50px">
        <tr>
            <td>
                <b>CampaignID</b>
            </td>
            <td>
                <ul><li>The identifier of a campaign</li>
                <li>Must be not null</li>
                <li>Must be maximum of 20 characters</li>
                </ul>
            </td>
        </tr>
        <tr>
            <td>
                <b>CampaignName</b>
            </td>
            <td>
                <ul><li>The campaign name</li>
                <li>Must be not null</li>
                <li>Must be maximum of 50 characters</li>
                </ul>
            </td>
        </tr>
        <tr>
            <td>
                <b>ChannelID</b>
            </td>
            <td>
                <ul><li>The identifier of the channel</li>
                <li>Must be not null</li>
                <li>Must be numeric</li>
                </ul>
            </td>
        </tr>
        <tr>
            <td>
                <b>ProductID</b>
            </td>
            <td>
                <ul><li>The identifier of a product that the campaign belongs</li>
                    <li>Must be not null </li>
                    <li>Must be maximum of 20 characters</li>
                </ul>
            </td>
        </tr>
        <tr>
            <td>
                <b>PromotionID</b>
            </td>
            <td>
                <ul><li>The identifier of the promotion</li>
                <li>Must be not null</li>
                <li>Must be numeric</li>
                </ul>
            </td>
        </tr>
        <tr>
            <td>
                <b>Start date</b>
            </td>
            <td>
                <ul><li>The start date of a campaign</li>
                <li>Can be null</li>
                <li>Must be in format dd/mm/yyyy</li>
                <li>Must be &lt;= End date</li>
                <li>When creating new campaign, the start date must be today or after today.</li>
                </ul>
            </td>
        </tr>
        <tr>
            <td>
                <b>End date</b>
            </td>
            <td>
                <ul><li>The end date of a campaign</li>
                <li>Can be null</li>
                <li>Must be in format dd/mm/yyyy</li>
                <li>Must be &gt;= Start date</li>
                </ul>
            </td>
        </tr>
    </table>
<h1>Normal Employee</h1>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The normal employee can <b>only</b> view statistics of campaign, variances, sales,... in HTML format of the system. There are various report types provided:
    <ul>
        <li>Report based on mode [All or Selected item]</li>
        <li>Report based on what data he wants to report, i.e different campaigns on different products, report variances only, or sales target,...</li>
    </ul>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The user has to choose both the mode and exported data to report. In case the user chooses the mode <i><b>Selected item</b></i> then, he has to select the item to export. 
    Otherwise, the system will show an error message dialog. After the report runs successfully, the default web browser will automatically opens the HTML report file. 
<h1>Administrator</h1>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The administrator can do everything on product, campaign, employee as well as he can assign(change) 
            the role of employee if he wants that employee to see the specific modules,...
</body>
</html>